generally prefer strict matching `===`. this line should prob do typeof and length check.