Skip to content

core.smartid #

fn sid_check #

fn sid_check(sid string) bool

check if format is [..5].[..5].[..5] . and [..5] is string return error if issue

fn sid_int #

fn sid_int(sid string) u32

convert sid to int

fn sid_str #

fn sid_str(sid u32) string

represent sid as string, from u32

fn sid_test #

fn sid_test(sid string) !

raise error if smartid not valid