type.string.empty
0.000001

Checks if a string is empty.

Arguments
no defined arguments
Return Value
true if the given string is empty, otherwise false.
something went wrong :(
Checking if a string is empty
Setup
authorization=PROCAUTH
require "proc"

client = Proc.connect("PROCAUTH")
const Proc = require("@proc.dev/client");
const client = Proc.connect("PROCAUTH");
client.type.string.empty.call(
  ""
)
client.type.string.empty.call(
  ""
);
curl "https://proc.run/type/string/empty" --silent \
--header "authorization: bearer $authorization" \
--header "content-type: application/json" \
--data '""'
 

true


Stuck? Want to chat about an idea? Join the community on Discord.