* refactor: extract isClient and isNumber isBoolean * test: update test * refactor: extract isClient to browser