jvmMain.extensions.Double.kt Maven / Gradle / Ivy
// https://youtrack.jetbrains.com/issue/KT-12495
@file:JvmName("Double@graph")
package io.fluidsonic.raptor
public fun Double.Companion.graphDefinition(): RaptorGraphDefinition = graphScalarDefinition(name = "Float") {
parseFloat(::identity)
serialize(::identity)
}