Reference FQL API reference Global functions ID() ID() Create a valid ID Signature ID(id: String) => ID ID(id: Number) => ID Description The ID() method returns a valid ID given a String or Int representation of the ID. Parameters Parameter Type Required Description id String or Int true Document identifier. Return value Type Description ID Resource identifier. Examples ID(123) "123" ID("123") "123" See also collection.create() dbg() log()