以下のように関数を式で表したもの。
```ts
const func = (a: string) => Boolean(a)
// ^? const func: (a: string) => boolean
console.log(func("")) // false
console.log(func("a")) // true
```
<button class="playground"><a href="https://www.typescriptlang.org/play?#code/MYewdgzgLgBAZgVzMGBeGAKAhgLhtAJwEswBzASjQD4YAhEEAGwFMsxtyAoAem5n5gA9APydOoSE2YA6RiFIZEyDACIV5SjF7wsjCM3HgIU2fMVJgqrOsraoBBAaA">Playground</a></button>
型は`(a: string) => boolean` のようになる。