Hi. Is a function injective iff EVERY element in the domain is mapped to a distinct element in the codomain:

For example:

A={1,2,4} B={Q, W, S, T}

1 is mapped to Q

2 is mapped to W

4 is not mapped.

Is this considered an injective function from A to B?