function CastGraphQLType()

in src/NeptuneSchema.js [199:213]


function CastGraphQLType(value) {
    if (typeof value === 'number') {
        return Number.isInteger(value) ? 'Int' : 'Float';
    }

    if (typeof value === 'boolean') {
        return 'Boolean';
    }

    if (value instanceof Date) {
        return 'Date';
    }

    return 'String';
}