prerelease

external fun prerelease(version: String): ReadonlyArray<Any>?(source)
external fun prerelease(version: String, optionsOrLoose: Boolean = definedExternally): ReadonlyArray<Any>?(source)
external fun prerelease(version: String, optionsOrLoose: Options = definedExternally): ReadonlyArray<Any>?(source)
external fun prerelease(version: SemVer): ReadonlyArray<Any>?(source)
external fun prerelease(version: SemVer, optionsOrLoose: Boolean = definedExternally): ReadonlyArray<Any>?(source)
external fun prerelease(version: SemVer, optionsOrLoose: Options = definedExternally): ReadonlyArray<Any>?(source)

Returns an array of prerelease components, or null if none exist.